package com.quyunshuo.module.home.activity.main

import android.util.Log
import androidx.lifecycle.viewModelScope
import com.quyunshuo.edwinusetime.base.BaseApplication
import com.quyunshuo.edwinusetime.base.mvvm.vm.BaseViewModel
import com.quyunshuo.module.home.room.database.SumDataBase
import com.quyunshuo.module.home.room.entity.Steps
import com.quyunshuo.module.home.util.stepToCalorie
import com.quyunshuo.module.home.util.stepToM
import com.quyunshuo.module.home.util.stepToMillisecond
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.asStateFlow
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
import java.util.Date
import javax.inject.Inject
import kotlin.math.log

/**
 * 首页的VM层
 *
 * @property mRepository HomeRepository 仓库层 通过Hilt注入
 *
 * @author Qu Yunshuo
 * @since 5/25/21 5:41 PM
 */
@HiltViewModel
class SharedViewModel @Inject constructor(private val mRepository: HomeRepository) :
    BaseViewModel() {

}
